package org.ben.xintoucloud.javase.ooppet;

/**
 * @Author: Ben
 * @Date: 2019/7/10 21:08
 */
public class Dog extends MyPet {
    private String species;
    public void lookDoor(){
        System.out.println("看门");
    }

    public Dog(String name, int age, String color, String species) {
        super(name, age, color);
        this.species = species;
    }
}
